package com.ryan.security.controller;

import com.ryan.security.dto.FileInfo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

/**
 * Created by kaimin on 1/1/2019.
 * time : 13:34
 */
@RestController
@RequestMapping("file")
public class FileController {

    @PostMapping
    public FileInfo upload(MultipartFile file){

        return null;

    }
}
